  
<table border="0" width="100%" cellspacing="0" cellpadding="10">
  <tr>
    <td width="100%">

    {if $show_login}
    <h3>Client login</h3>
    <form method="POST" action="client_login.php">
	<p>Email<br><input type='text' name='b_email' value=''></p> 
	<p>Password<br><input type='password' name='b_pass' value=''></p>
	<p><input type='submit' name='submit' value='Submit'></p>
	</form>
    {/if}
    
    
    {if $name}
    	
    	 <h3>Client area</h3><br />
    	 {$name} {$email}
    	
    	
    	{foreach item=banner from=$banner_list}
			
			<p>
			<b>Bannerid:</b> {$banner.bid} 
			&nbsp;&nbsp;
			<b>Show:</b> {$banner.hits}
			&nbsp;&nbsp;
			<b>Clicks:</b> {$banner.clicks}
			&nbsp;&nbsp; 
			<b>Status:</b>
			{if $banner.status==1}
    			<font color='green'>Active</font>
    		{else}
    			<font color='red'>Not Active</font
    		{/if}
    		&nbsp;&nbsp;
    		<b>URL:</b>  {$banner.goto_url}<br />
			<img src='images/banners/{$banner.filename}' border='0' alt='' />
			</p>
    			
   
			{/foreach}
    	
    {/if}
    
    <p>&nbsp;</p>
    
	</td>
	</tr>
</table>